(b) wherei. the property is a depreciable property of a prescribed class, the lesser of the capital cost of the property to the individual or to the trust and the amount, determined immediately before the time of the disposition of the property, that is equal to that proportion of the undepreciated capital cost of the property of that class to the individual or to the trust that the capital cost of the property to the individual or to the trust is of the capital cost to the individual or to the trust of all the property of that class that had not, at or before that time, been disposed of,
ii. in the case of the individual referred to in section 444, the property is land, other than land to which subparagraph i applies, a share of the capital stock of a family farm corporation, a share of the capital stock of a family fishing corporation, an interest in a family farm partnership, or an interest in a family fishing partnership, the adjusted cost base of the property to the individual immediately before the time of the disposition of the property, or
iii. in the case of the trust referred to in section 450, the property is land, other than land to which subparagraph i applies, a share referred to in subparagraph ii or iii of subparagraph c of the first paragraph of that section, or an interest in a partnership described in subparagraph iv of subparagraph c of the first paragraph of that section, the adjusted cost base of the property to the trust immediately before the time of the disposition of the property.